Skip to content

BDZ2_POPITKA_NOMER_3_NU_SEICHAS_TOCHNO_POLUCHITSYA#3

Open
noziTuB wants to merge 2 commits into
SergeyBalabaev:mainfrom
noziTuB:main
Open

BDZ2_POPITKA_NOMER_3_NU_SEICHAS_TOCHNO_POLUCHITSYA#3
noziTuB wants to merge 2 commits into
SergeyBalabaev:mainfrom
noziTuB:main

Conversation

@noziTuB

@noziTuB noziTuB commented May 20, 2025

Copy link
Copy Markdown

ESLI VI ETO CHITAYTE - TO VSE POLUCHILOS

Comment thread BDZ2/build/librbmap.so

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не надо собранные файлы заливать на гит 👎

@okuroshi okuroshi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Поправь stylecode. Выбери какой хочешь и приложи ссылку на него. Разные тесты есть. Остальное в замечаниях

Comment thread BDZ2/include/rbmap.h
void *key;
void *value;
Color color;
struct RBNode *left, *right, *parent;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Определение в ряд лучше не делать. Сделай их отдельными

Comment thread BDZ2/src/rbmap.c
}

RBMap *rbmap_create(int (*cmp)(const void *, const void *)) {
RBMap *map = malloc(sizeof(RBMap));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

проверка на null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants